package org.zkdn.modules.wlpt.basicinfo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class MecVO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @ApiModelProperty(value = "主键")
    private String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**设备编号*/
    @Excel(name = "设备编号", width = 15)
    @ApiModelProperty(value = "设备编号")
    private String deviceId;
    /**设备序列号*/
    @Excel(name = "设备序列号", width = 15)
    @ApiModelProperty(value = "设备序列号")
    private String serialNumber;
    /**设备厂商*/
    @Excel(name = "设备厂商", width = 15)
    @ApiModelProperty(value = "设备厂商")
    @Dict(dicCode = "device_manufacturer")
    private String manufacturerId;
    /**设备型号*/
    @Excel(name = "设备类型", width = 15)
    @ApiModelProperty(value = "设备类型")
    @Dict(dicCode = "camera_type")
    private String deviceType;
    /**协议*/
//	@Excel(name = "协议", width = 15)
    @ApiModelProperty(value = "协议")
    private String commProtocol;
    /**服务器地址*/
//	@Excel(name = "服务器地址", width = 15)
    @ApiModelProperty(value = "服务器地址")
    private String serverAddr;
    /**联网状态(0离线  1在线)*/
    @Excel(name = "联网状态", width = 15)
    @ApiModelProperty(value = "联网状态(0离线  1在线)")
    @Dict(dicCode = "online_state")
    private Integer onlineState;
    /**主体id*/
//	@Excel(name = "主体id", width = 15)
    @ApiModelProperty(value = "主体id")
    private String orgId;
    /**主体名称*/
//	@Excel(name = "主体名称", width = 15)
    @ApiModelProperty(value = "主体名称")
    private String orgName;
    /**摄像机位置（0车内 1车外）*/
//	@Excel(name = "摄像机位置（0车内 1车外）", width = 15)
    @ApiModelProperty(value = "摄像机位置（0车内 1车外）")
    private String positionType;
    /**路口id*/
    @Excel(name = "路口id", width = 15)
    @ApiModelProperty(value = "路口id")
    private String crossId;
    /**路口名称*/
    @Excel(name = "路口名称", width = 15)
    @ApiModelProperty(value = "路口名称")
    private String crossName;
    /**道路id*/
    @Excel(name = "道路id", width = 15)
    @ApiModelProperty(value = "道路id")
    private String roadId;
    /**道路名称*/
    @Excel(name = "道路名称", width = 15)
    @ApiModelProperty(value = "道路名称")
    private String roadName;
    /**杆件id*/
    @Excel(name = "杆件id", width = 15)
    @ApiModelProperty(value = "杆件id")
    private String poleId;
    /**杆件位置*/
    @Excel(name = "杆件位置", width = 15)
    @ApiModelProperty(value = "杆件位置")
    @Dict(dicCode = "position_type")
    private Integer polePositionType;
    /**坐标-经度*/
    @Excel(name = "坐标-经度", width = 15)
    @ApiModelProperty(value = "坐标-经度")
    private Double lng;
    /**坐标-纬度*/
    @Excel(name = "坐标-纬度", width = 15)
    @ApiModelProperty(value = "坐标-纬度")
    private Double lat;
    /**设备ip*/
    @Excel(name = "设备ip", width = 15)
    @ApiModelProperty(value = "设备ip")
    private String deviceIp;
    /**厂商设备名称*/
    @Excel(name = "厂商设备名称", width = 15)
    @ApiModelProperty(value = "厂商设备名称")
    private java.lang.String manufacturerDeviceName;
    /**摄像机名称*/
    @Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private String deviceName;
    /**设备型号*/
    @Excel(name = "设备型号", width = 15)
    @ApiModelProperty(value = "设备型号")
    private String deviceModel;
}
